﻿using System;
using System.Web.Services;
using BillBook.Controller;
using BillBook.Model;

public partial class admin_user_adduser : System.Web.UI.Page
{

    [ WebMethod ]
    public static sbyte saveUser(User user)
    {
        try
        {
        UserController userController=new UserController();
        sbyte result=userController.Save(user);
        return result;
        }
        catch (Exception e)
        {
            return -1;
        }
        
    }
}
